<template>
	<view>
		<button class="fab-button" @click="callback()" type="primary">{{btnValue}}</button>
	</view>
</template>

<script>
	export default {
		name:"FabBtn",
		props: {
			btnValue: {	//按钮内容
				type: [String],
				default: "btn"
			},
			callback: {	//点击事件
				type: [Function],
				default: Function()
			},
		},
		data() {
			return {

			};
		},
		methods:{

		}
	}
</script>

<style>
	.fab-button{
		position: fixed;
		bottom: 80px;
		right: 25px;
		width:65px;
		height: 65px;
		line-height: 65px;
		border-radius:50%;
		box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2), 0 10px 28px 0 rgba(0, 0, 0, 0.19);
		font-size: 5px;
	}
</style>
